<template>
	<view class="common-item">
		<block v-for="(item,index) in homeData" :key="index">
			<ComItem :item="item"></ComItem>
		</block>
		
	</view>
</template>

<script>
	import ComItem from './ComItem.vue'
	export default{
		props:{
			homeData:{
				type:Array,
				default:[]
			}
		},
		data(){
			return{
			
			}
		},
		components:{
			ComItem
		}
	}
</script>

<style scoped>
	.common-item{
		width: 676rpx;
		display: flex;
		justify-content: space-around;
		flex-wrap: wrap;
		align-items: center;
		margin-left: 40rpx;
		margin-top: 40rpx;
	}
</style>
